ctdb-config: enable syslog by default
authorRafael David Tinoco <rafaeldtinoco@ubuntu.com>
Tue, 26 May 2026 12:46:55 +0000 (15:46 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 26 May 2026 12:46:55 +0000 (15:46 +0300)
commitb09b7a48d7ef4bfca04154198e218ccfde7caa1f
tree9fd076734d6017cb37875f9fad8ffc73b2f94ae2
parente741a07a66dd97b8554c760d56de24d87e72d337
ctdb-config: enable syslog by default

Bug-Debian: https://bugs.debian.org/929931
Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201
Last-Update: 2022-03-24
Forwarded: not-needed

CTDB uses /var/log/ctdb/ directory for the default log files. With
syslog disabled, systemd journal is not able to correctly inform
errors happening during service initialization.

Upstream community creates generic config files to be used by different
distributions, so this change makes no big difference to be accepted by
upstream.

With this patch the end user will be able to identify initialization
errors by executing:

  systemctl status ctdb.service

or to follow ctdb logs by executing:

  journalctl -f -u ctdb

Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Gbp-Pq: Name ctdb-config-enable-syslog-by-default.patch
ctdb/config/ctdb.conf